package easyexcel.service;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import easyexcel.entity.User;
import easyexcel.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * @description:
 * @author: jichao
 * @date: 2021/6/17 10:53
 */
@Service
public class TestService {
  @Resource
  private UserMapper UserMapper;

  public  PageInfo<User> getUserList(Integer pageNum, Integer pageSize){
      /*PageHelper.startPage(pageNum,pageSize);
      List<User> a=new ArrayList<>();
      a.add(new User("季超",24,"13231@qq.com"));
      a.add(new User("臭宝",24,"13231@qq.com"));
      PageInfo<User> users=new PageInfo<>(a);
      return users;*/
    return null;
  }

}
